package com.org.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * AdPosition entity. @author MyEclipse Persistence Tools
 */

public class AdPosition implements java.io.Serializable {

	// Fields

	private Long id;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private String description;
	private Integer height;
	private String name;
	private String template;
	private Integer width;
	private Set ads = new HashSet(0);

	// Constructors

	/** default constructor */
	public AdPosition() {
	}

	/** minimal constructor */
	public AdPosition(Timestamp createDate, Timestamp modifyDate,
			Integer height, String name, String template, Integer width) {
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.height = height;
		this.name = name;
		this.template = template;
		this.width = width;
	}

	/** full constructor */
	public AdPosition(Timestamp createDate, Timestamp modifyDate,
			String description, Integer height, String name, String template,
			Integer width, Set ads) {
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.description = description;
		this.height = height;
		this.name = name;
		this.template = template;
		this.width = width;
		this.ads = ads;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getHeight() {
		return this.height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTemplate() {
		return this.template;
	}

	public void setTemplate(String template) {
		this.template = template;
	}

	public Integer getWidth() {
		return this.width;
	}

	public void setWidth(Integer width) {
		this.width = width;
	}

	public Set getAds() {
		return this.ads;
	}

	public void setAds(Set ads) {
		this.ads = ads;
	}

}